<template>
  <div class='ad-evaluate'>
    <Search :search="searchInfo" @new_search="getSearch" />
    <MyNav :search="searchInfo" :getListData="getListData" :pageInfo="pageInfo" :selectData="selectData" :originalData="originalData" />
    <List class="list-box" :listData="listData" @forMore="getMoreInfo">
      <ListModel :search="searchInfo" :listData="listData" :routerDetail="routerDetail" />
    </List>
  </div>
</template>
<script>
import Search from '../../../../components/search.vue'
import MyNav from './model/nav.vue'
import MixIns from '../../../../mixin/mixin.js'
import List from '../../../../components/list.vue'
import ListModel from "./model/list.vue"
export default {
  components: {Search,MyNav,List,ListModel},
  name: "",
  data() {
    return {
      searchInfo:{
        search:"",
        class:"",
        category:"0",
        keyword:"",
      }
    };
  },
  methods: {
    getSearch(val){
      this.searchInfo.keyword=this.searchInfo.search
      this.pageInfo.page=1
      this.getListData()
    },
  },
  created() {},
  mixins:[MixIns]
};
</script>
<style lang="scss" scoped>
.ad-evaluate {
  height: 100%;
  .list-box{  
    height: calc(100% - 260px);
  }
}
</style>